package com.gaofeng.day17;

public abstract class Parent {

    private String name;
    private int age;

    public Parent() {
    }

    public Parent(String name, int age) {
        this.name = name;
        this.age = age;
    }



    public abstract void work();

    public void sleep(){
        System.out.println("sleep");
    }
}
